package utils;

import java.util.HashMap;

public class RandomCreate {
	//创建一个随机列表
	public static int[] createRandomList(int size , int range) {
		int[] randomList = new int[size];
		for (int i = 0; i < randomList.length; i++) {
			randomList[i] = (int) (Math.random() * range);
		}
		return randomList;
	}
	
	public static int[] createRandomList(int size) {
		return createRandomList(size, 10000);
	}
	//创建一个随机二维矩阵
	public static int[][] createRandomMatrix(int length, int wide) {
		int[][] randomMatrix = new int[length][wide];
		
		return randomMatrix;
	}
	
	private void hello() {
		HashMap<Object, Object> objectObjectHashMap = new HashMap<>();
	}
}
